package com.ohos.connent.accountcloud.biz.modular.org.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ohos.connent.accountcloud.biz.modular.dp.entity.DpEnterpriseInfo;
import com.ohos.connent.accountcloud.biz.modular.org.param.OrgCertifiedParam;
import com.ohos.connent.accountcloud.biz.modular.org.param.OrgFrozenParam;
import com.ohos.connent.accountcloud.biz.modular.org.param.OrgIdParam;
import com.ohos.connent.accountcloud.biz.modular.org.param.OrgPageParam;
import com.ohos.connent.accountcloud.biz.modular.org.result.EnterpriseDetailResult;

/**
 * @Author: ChenJiaHao
 * @Date: 2024/6/12 16:35
 * @Description:
 */
public interface OrgService {

    /**
     * 企业认证审核、已认证企业界面列表
     * @param orgPageParam 分页参数
     * @return
     */
    Page<DpEnterpriseInfo> page(OrgPageParam orgPageParam);

    /**
     * 企业明细查看接口
     * @param orgIdParam 企业id
     * @return
     */
    EnterpriseDetailResult detail(OrgIdParam orgIdParam);

    /**
     * 企业审核
     * @param orgCertifiedParam 企业id集合，状态
     */
    void certified(OrgCertifiedParam orgCertifiedParam);

    /**
     * 企业冻结/解冻
     * @param orgFrozenParam 企业id集合
     */
    void frozen(OrgFrozenParam orgFrozenParam);
}
